// 校验中国大陆身份证号码
export const ValidateChinaIdCard = (idCard: string) => {
  if (!idCard) return false
  const reg = /^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d{1}|3[0-1]))\d{3}([0-9]|X)$/
  return reg.test(idCard)
}
